<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
String path = request.getContextPath();
String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>缴费报告清单</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link href="<%=basepath%>css/index.css" rel="stylesheet" type="text/css">
    <link href="<%=basepath%>css/parking.css" rel="stylesheet" type="text/css">
    <script src="<%=basepath%>js/jquery-1.8.3.min.js"></script>
    <script src="<%=basepath%>js/layer/layer.js"></script>
    <script src="<%=basepath%>js/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
<div class="viewport">
    <div class="header">
       <div class="header-1">
           <a href="javascrpt:void(0)" id="join" class="header-2">
              <span id="account" class="account">${empty user.realName ? '' : user.realName}</span>&nbsp;&nbsp;<span id="deptName" class="deptName">${user.departmentName}</span>
           </a>
           <a href="/wape-web/api/core/centerService?serviceCode=WJ9999&targetURL=yuexi&prefix=3g_mmzs&entrance=yes" class="back" id="back">返回</a>
           <span class="span-num">WYP29000</span>
       </div>
    </div>
    <div class="content m-top">
                <div class="vehicle-3" id="time">
                    <div class="vehicle-3-1">
                        <table>
                           <tr>
                              <td style="float:left;">${day}</td>
                              <td class="total_c">车次：<b>${count}</b>台次</td>
                              <td class="total_m">总金额：<b>${fee}</b>元</td>
                              <!-- <td class="total_m" style="float:right;">勾选：<input type="checkbox" name="choose" class="input3-1" checked="checked" id="input3-1"></td> -->
                           </tr>
                        </table>
                    </div>
                </div>
                <c:forEach var="pt" items="${list}">
                   <div class="vehicle-4 time">
                       <a href="/wape-web/api/core/centerService?serviceCode=MMZS112&inRecordNum=${pt.inRecordNum }&storeId=${pt.storeId}&storeName=${pt.storeName}&sonStoreName=${pt.sonStoreName}&sonStoreId=${pt.sonStoreId}&payType=${pt.payType}&queryType=3" class="vehicle-4-1">
                           <table class="vehicle3-1">
                               <tr>
                                   <td class="td-v1">${pt.plateNum}</td>
                                   <c:if test="${pt.costType == '10' }">
                                       <td class="td-v2">经营费</td>
                                   </c:if>
                                   <c:if test="${pt.costType == '20' }">
                                       <td class="td-v2">超时费</td>
                                   </c:if>
                                   <c:if test="${pt.costType == '30' or pt.costType == '40' }">
                                       <td class="td-v2">短租费</td>
                                   </c:if>
                                   <td class="td-v2">${pt.chargerName }</td>
                                   <td class="td-v3">${pt.payment}元</td>
                                   <td class="gray td-v4">${pt.chargesTime}</td>
                               </tr>
                           </table>
                       </a>
                   </div>
                </c:forEach>
                <div class="blank"></div>
        <div class="space"></div>
    </div>
</div>
</body>
<script type="text/javascript">
    /*错误提示*/
    $(function(){
        var error = "${requestScope.returnMsg}";
        if(error != "" && error != "成功!"){
            layer.msg(error,{shadeClose:true,shade:0.1,time:2000});
        }
    });
</script>
</html>
